﻿
using Microsoft.Extensions.DependencyInjection;
using SimpleORM.Extensions;
using SimpleORM.Infrastructure;
using SimpleORM.Model.DataBaseModel;
using SimpleORM.Repository;
using SimpleORM.Service.IService;
namespace SimpleORM.Service.Service
{
    [Service(ServiceLifetime.Scoped)]
    public class Getuser:BaseRepository<Student>,IGetuser
    {
        public string Getusrname()
        {
            var ss=Context.Queryable<Student>().ToList();


            return "OK";
            
        }
    }
}
